package cn.edu.ntu.yyl.dao;

import cn.edu.ntu.yyl.pojo.Attachment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AttachmentDao {
    // 增
    Integer InsertNewAttachment(Attachment attachment);
    // 删
    Integer DeleteAttachment(Attachment attachment);
    // 改
    Integer UpdateAttachment(Attachment attachment);
    // 查
    List<Attachment> SelectAllAttachment();
}
